two way switching schematic